﻿@model mvc_superchores.Models.ChoresVm
@{
               
}

<br /><br />
<div>
    <h2>Kitchen Chores</h2>
    <hr />
    <br />
    <table class="table-bordered table-striped table-responsive">
        <thead>
            <tr>
                <th>Task</th>
                <th>Person</th>
                <th>Completed</th>
                <th>Action</th>
            </tr>
        </thead>
        <tbody>
            @foreach (var k in Model.KitchenChores)
            {
                <tr>
                    <td>@k.Task</td>
                    <td>@k.Person</td>
                    <td>@k.IsCompleted</td>
                    <td>@Html.ActionLink("Kitchen Detail", "KitchenDetail", "Home", new { id = k.Id }, null)</td>
            </tr>
            }
        </tbody>
    </table>
</div>
